package project.messagestack.GUI;

public class MailAcount {
    private String login;
    private String password;
    private String serwer;
    private int port;
    private String type;
    
    public MailAcount(String login, String password, String serwer, int port, String type) {
      this.setLogin(login);
      this.setPassword(password);
      this.setSerwer(serwer);
      this.setPort(port);
      this.setType(type);
   }

    public void setLogin(String login) {
      this.login = login;
    }

    public String getLogin() {
      return login;
    }

    public void setPassword(String password) {
      this.password = password;
    }

    public String getPassword() {
      return password;
    }

    public void setSerwer(String serwer) {
      this.serwer = serwer;
    }

    public String getSerwer() {
      return serwer;
    }

    public void setPort(int port) {
      this.port = port;
    }

    public int getPort() {
      return port;
    }

    public void setType(String type) {
      this.type = type;
    }

    public String getType() {
      return type;
    }
    

}
